#pragma once
#include "Resource.h"
#include "BaseForm.h"
#include "simplelistctrl.h"

// CRiskMonitorForm dialog

class CRiskMonitorForm : public CBaseForm
{
	DECLARE_DYNAMIC(CRiskMonitorForm)

public:
	CRiskMonitorForm(CWnd* pParent = NULL);   // standard constructor
	virtual ~CRiskMonitorForm();

	static CBaseForm* CreateShow(CWnd* pParent)
	{
		CRiskMonitorForm* pform = new CRiskMonitorForm(pParent);
		pform->Create(CRiskMonitorForm::IDD,pParent);
		pform->ModifyStyle(0, WS_EX_CONTROLPARENT);
		pform->ShowWindow(SW_SHOW);
		return pform;

	}

// Dialog Data
	enum { IDD = IDD_DIALOG_REALTIME_MONITOR };

protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	CSimpleListCtrl m_listctrl1;
	CSimpleListCtrl m_listctrl2;
	CSimpleListCtrl m_listctrl3;

	DECLARE_MESSAGE_MAP()

	virtual CString GetTitle() const;

public:
	afx_msg void OnBnClickedButtonStopall();

	virtual BOOL AllowClose();

};
